package com.tramy.data.export.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CupSettlementExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CupSettlementExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeIsNull() {
            addCriterion("customer_code is null");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeIsNotNull() {
            addCriterion("customer_code is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeEqualTo(String value) {
            addCriterion("customer_code =", value, "customerCode");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeNotEqualTo(String value) {
            addCriterion("customer_code <>", value, "customerCode");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeGreaterThan(String value) {
            addCriterion("customer_code >", value, "customerCode");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeGreaterThanOrEqualTo(String value) {
            addCriterion("customer_code >=", value, "customerCode");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeLessThan(String value) {
            addCriterion("customer_code <", value, "customerCode");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeLessThanOrEqualTo(String value) {
            addCriterion("customer_code <=", value, "customerCode");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeLike(String value) {
            addCriterion("customer_code like", value, "customerCode");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeNotLike(String value) {
            addCriterion("customer_code not like", value, "customerCode");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeIn(List<String> values) {
            addCriterion("customer_code in", values, "customerCode");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeNotIn(List<String> values) {
            addCriterion("customer_code not in", values, "customerCode");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeBetween(String value1, String value2) {
            addCriterion("customer_code between", value1, value2, "customerCode");
            return (Criteria) this;
        }

        public Criteria andCustomerCodeNotBetween(String value1, String value2) {
            addCriterion("customer_code not between", value1, value2, "customerCode");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIsNull() {
            addCriterion("customer_name is null");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIsNotNull() {
            addCriterion("customer_name is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerNameEqualTo(String value) {
            addCriterion("customer_name =", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotEqualTo(String value) {
            addCriterion("customer_name <>", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameGreaterThan(String value) {
            addCriterion("customer_name >", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameGreaterThanOrEqualTo(String value) {
            addCriterion("customer_name >=", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLessThan(String value) {
            addCriterion("customer_name <", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLessThanOrEqualTo(String value) {
            addCriterion("customer_name <=", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLike(String value) {
            addCriterion("customer_name like", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotLike(String value) {
            addCriterion("customer_name not like", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIn(List<String> values) {
            addCriterion("customer_name in", values, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotIn(List<String> values) {
            addCriterion("customer_name not in", values, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameBetween(String value1, String value2) {
            addCriterion("customer_name between", value1, value2, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotBetween(String value1, String value2) {
            addCriterion("customer_name not between", value1, value2, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerAidIsNull() {
            addCriterion("customer_aid is null");
            return (Criteria) this;
        }

        public Criteria andCustomerAidIsNotNull() {
            addCriterion("customer_aid is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerAidEqualTo(String value) {
            addCriterion("customer_aid =", value, "customerAid");
            return (Criteria) this;
        }

        public Criteria andCustomerAidNotEqualTo(String value) {
            addCriterion("customer_aid <>", value, "customerAid");
            return (Criteria) this;
        }

        public Criteria andCustomerAidGreaterThan(String value) {
            addCriterion("customer_aid >", value, "customerAid");
            return (Criteria) this;
        }

        public Criteria andCustomerAidGreaterThanOrEqualTo(String value) {
            addCriterion("customer_aid >=", value, "customerAid");
            return (Criteria) this;
        }

        public Criteria andCustomerAidLessThan(String value) {
            addCriterion("customer_aid <", value, "customerAid");
            return (Criteria) this;
        }

        public Criteria andCustomerAidLessThanOrEqualTo(String value) {
            addCriterion("customer_aid <=", value, "customerAid");
            return (Criteria) this;
        }

        public Criteria andCustomerAidLike(String value) {
            addCriterion("customer_aid like", value, "customerAid");
            return (Criteria) this;
        }

        public Criteria andCustomerAidNotLike(String value) {
            addCriterion("customer_aid not like", value, "customerAid");
            return (Criteria) this;
        }

        public Criteria andCustomerAidIn(List<String> values) {
            addCriterion("customer_aid in", values, "customerAid");
            return (Criteria) this;
        }

        public Criteria andCustomerAidNotIn(List<String> values) {
            addCriterion("customer_aid not in", values, "customerAid");
            return (Criteria) this;
        }

        public Criteria andCustomerAidBetween(String value1, String value2) {
            addCriterion("customer_aid between", value1, value2, "customerAid");
            return (Criteria) this;
        }

        public Criteria andCustomerAidNotBetween(String value1, String value2) {
            addCriterion("customer_aid not between", value1, value2, "customerAid");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeIsNull() {
            addCriterion("customer_old_code is null");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeIsNotNull() {
            addCriterion("customer_old_code is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeEqualTo(String value) {
            addCriterion("customer_old_code =", value, "customerOldCode");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeNotEqualTo(String value) {
            addCriterion("customer_old_code <>", value, "customerOldCode");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeGreaterThan(String value) {
            addCriterion("customer_old_code >", value, "customerOldCode");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeGreaterThanOrEqualTo(String value) {
            addCriterion("customer_old_code >=", value, "customerOldCode");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeLessThan(String value) {
            addCriterion("customer_old_code <", value, "customerOldCode");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeLessThanOrEqualTo(String value) {
            addCriterion("customer_old_code <=", value, "customerOldCode");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeLike(String value) {
            addCriterion("customer_old_code like", value, "customerOldCode");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeNotLike(String value) {
            addCriterion("customer_old_code not like", value, "customerOldCode");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeIn(List<String> values) {
            addCriterion("customer_old_code in", values, "customerOldCode");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeNotIn(List<String> values) {
            addCriterion("customer_old_code not in", values, "customerOldCode");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeBetween(String value1, String value2) {
            addCriterion("customer_old_code between", value1, value2, "customerOldCode");
            return (Criteria) this;
        }

        public Criteria andCustomerOldCodeNotBetween(String value1, String value2) {
            addCriterion("customer_old_code not between", value1, value2, "customerOldCode");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeIsNull() {
            addCriterion("customer_describe is null");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeIsNotNull() {
            addCriterion("customer_describe is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeEqualTo(String value) {
            addCriterion("customer_describe =", value, "customerDescribe");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeNotEqualTo(String value) {
            addCriterion("customer_describe <>", value, "customerDescribe");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeGreaterThan(String value) {
            addCriterion("customer_describe >", value, "customerDescribe");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("customer_describe >=", value, "customerDescribe");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeLessThan(String value) {
            addCriterion("customer_describe <", value, "customerDescribe");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeLessThanOrEqualTo(String value) {
            addCriterion("customer_describe <=", value, "customerDescribe");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeLike(String value) {
            addCriterion("customer_describe like", value, "customerDescribe");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeNotLike(String value) {
            addCriterion("customer_describe not like", value, "customerDescribe");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeIn(List<String> values) {
            addCriterion("customer_describe in", values, "customerDescribe");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeNotIn(List<String> values) {
            addCriterion("customer_describe not in", values, "customerDescribe");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeBetween(String value1, String value2) {
            addCriterion("customer_describe between", value1, value2, "customerDescribe");
            return (Criteria) this;
        }

        public Criteria andCustomerDescribeNotBetween(String value1, String value2) {
            addCriterion("customer_describe not between", value1, value2, "customerDescribe");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusIsNull() {
            addCriterion("customer_status is null");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusIsNotNull() {
            addCriterion("customer_status is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusEqualTo(String value) {
            addCriterion("customer_status =", value, "customerStatus");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusNotEqualTo(String value) {
            addCriterion("customer_status <>", value, "customerStatus");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusGreaterThan(String value) {
            addCriterion("customer_status >", value, "customerStatus");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusGreaterThanOrEqualTo(String value) {
            addCriterion("customer_status >=", value, "customerStatus");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusLessThan(String value) {
            addCriterion("customer_status <", value, "customerStatus");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusLessThanOrEqualTo(String value) {
            addCriterion("customer_status <=", value, "customerStatus");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusLike(String value) {
            addCriterion("customer_status like", value, "customerStatus");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusNotLike(String value) {
            addCriterion("customer_status not like", value, "customerStatus");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusIn(List<String> values) {
            addCriterion("customer_status in", values, "customerStatus");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusNotIn(List<String> values) {
            addCriterion("customer_status not in", values, "customerStatus");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusBetween(String value1, String value2) {
            addCriterion("customer_status between", value1, value2, "customerStatus");
            return (Criteria) this;
        }

        public Criteria andCustomerStatusNotBetween(String value1, String value2) {
            addCriterion("customer_status not between", value1, value2, "customerStatus");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIdIsNull() {
            addCriterion("customer_type_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIdIsNotNull() {
            addCriterion("customer_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIdEqualTo(Long value) {
            addCriterion("customer_type_id =", value, "customerTypeId");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIdNotEqualTo(Long value) {
            addCriterion("customer_type_id <>", value, "customerTypeId");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIdGreaterThan(Long value) {
            addCriterion("customer_type_id >", value, "customerTypeId");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIdGreaterThanOrEqualTo(Long value) {
            addCriterion("customer_type_id >=", value, "customerTypeId");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIdLessThan(Long value) {
            addCriterion("customer_type_id <", value, "customerTypeId");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIdLessThanOrEqualTo(Long value) {
            addCriterion("customer_type_id <=", value, "customerTypeId");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIdIn(List<Long> values) {
            addCriterion("customer_type_id in", values, "customerTypeId");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIdNotIn(List<Long> values) {
            addCriterion("customer_type_id not in", values, "customerTypeId");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIdBetween(Long value1, Long value2) {
            addCriterion("customer_type_id between", value1, value2, "customerTypeId");
            return (Criteria) this;
        }

        public Criteria andCustomerTypeIdNotBetween(Long value1, Long value2) {
            addCriterion("customer_type_id not between", value1, value2, "customerTypeId");
            return (Criteria) this;
        }

        public Criteria andCustomerLevelIdIsNull() {
            addCriterion("customer_level_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerLevelIdIsNotNull() {
            addCriterion("customer_level_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerLevelIdEqualTo(Long value) {
            addCriterion("customer_level_id =", value, "customerLevelId");
            return (Criteria) this;
        }

        public Criteria andCustomerLevelIdNotEqualTo(Long value) {
            addCriterion("customer_level_id <>", value, "customerLevelId");
            return (Criteria) this;
        }

        public Criteria andCustomerLevelIdGreaterThan(Long value) {
            addCriterion("customer_level_id >", value, "customerLevelId");
            return (Criteria) this;
        }

        public Criteria andCustomerLevelIdGreaterThanOrEqualTo(Long value) {
            addCriterion("customer_level_id >=", value, "customerLevelId");
            return (Criteria) this;
        }

        public Criteria andCustomerLevelIdLessThan(Long value) {
            addCriterion("customer_level_id <", value, "customerLevelId");
            return (Criteria) this;
        }

        public Criteria andCustomerLevelIdLessThanOrEqualTo(Long value) {
            addCriterion("customer_level_id <=", value, "customerLevelId");
            return (Criteria) this;
        }

        public Criteria andCustomerLevelIdIn(List<Long> values) {
            addCriterion("customer_level_id in", values, "customerLevelId");
            return (Criteria) this;
        }

        public Criteria andCustomerLevelIdNotIn(List<Long> values) {
            addCriterion("customer_level_id not in", values, "customerLevelId");
            return (Criteria) this;
        }

        public Criteria andCustomerLevelIdBetween(Long value1, Long value2) {
            addCriterion("customer_level_id between", value1, value2, "customerLevelId");
            return (Criteria) this;
        }

        public Criteria andCustomerLevelIdNotBetween(Long value1, Long value2) {
            addCriterion("customer_level_id not between", value1, value2, "customerLevelId");
            return (Criteria) this;
        }

        public Criteria andCustomerCategoryIdIsNull() {
            addCriterion("customer_category_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerCategoryIdIsNotNull() {
            addCriterion("customer_category_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerCategoryIdEqualTo(Long value) {
            addCriterion("customer_category_id =", value, "customerCategoryId");
            return (Criteria) this;
        }

        public Criteria andCustomerCategoryIdNotEqualTo(Long value) {
            addCriterion("customer_category_id <>", value, "customerCategoryId");
            return (Criteria) this;
        }

        public Criteria andCustomerCategoryIdGreaterThan(Long value) {
            addCriterion("customer_category_id >", value, "customerCategoryId");
            return (Criteria) this;
        }

        public Criteria andCustomerCategoryIdGreaterThanOrEqualTo(Long value) {
            addCriterion("customer_category_id >=", value, "customerCategoryId");
            return (Criteria) this;
        }

        public Criteria andCustomerCategoryIdLessThan(Long value) {
            addCriterion("customer_category_id <", value, "customerCategoryId");
            return (Criteria) this;
        }

        public Criteria andCustomerCategoryIdLessThanOrEqualTo(Long value) {
            addCriterion("customer_category_id <=", value, "customerCategoryId");
            return (Criteria) this;
        }

        public Criteria andCustomerCategoryIdIn(List<Long> values) {
            addCriterion("customer_category_id in", values, "customerCategoryId");
            return (Criteria) this;
        }

        public Criteria andCustomerCategoryIdNotIn(List<Long> values) {
            addCriterion("customer_category_id not in", values, "customerCategoryId");
            return (Criteria) this;
        }

        public Criteria andCustomerCategoryIdBetween(Long value1, Long value2) {
            addCriterion("customer_category_id between", value1, value2, "customerCategoryId");
            return (Criteria) this;
        }

        public Criteria andCustomerCategoryIdNotBetween(Long value1, Long value2) {
            addCriterion("customer_category_id not between", value1, value2, "customerCategoryId");
            return (Criteria) this;
        }

        public Criteria andCheckCycleIdIsNull() {
            addCriterion("check_cycle_id is null");
            return (Criteria) this;
        }

        public Criteria andCheckCycleIdIsNotNull() {
            addCriterion("check_cycle_id is not null");
            return (Criteria) this;
        }

        public Criteria andCheckCycleIdEqualTo(Long value) {
            addCriterion("check_cycle_id =", value, "checkCycleId");
            return (Criteria) this;
        }

        public Criteria andCheckCycleIdNotEqualTo(Long value) {
            addCriterion("check_cycle_id <>", value, "checkCycleId");
            return (Criteria) this;
        }

        public Criteria andCheckCycleIdGreaterThan(Long value) {
            addCriterion("check_cycle_id >", value, "checkCycleId");
            return (Criteria) this;
        }

        public Criteria andCheckCycleIdGreaterThanOrEqualTo(Long value) {
            addCriterion("check_cycle_id >=", value, "checkCycleId");
            return (Criteria) this;
        }

        public Criteria andCheckCycleIdLessThan(Long value) {
            addCriterion("check_cycle_id <", value, "checkCycleId");
            return (Criteria) this;
        }

        public Criteria andCheckCycleIdLessThanOrEqualTo(Long value) {
            addCriterion("check_cycle_id <=", value, "checkCycleId");
            return (Criteria) this;
        }

        public Criteria andCheckCycleIdIn(List<Long> values) {
            addCriterion("check_cycle_id in", values, "checkCycleId");
            return (Criteria) this;
        }

        public Criteria andCheckCycleIdNotIn(List<Long> values) {
            addCriterion("check_cycle_id not in", values, "checkCycleId");
            return (Criteria) this;
        }

        public Criteria andCheckCycleIdBetween(Long value1, Long value2) {
            addCriterion("check_cycle_id between", value1, value2, "checkCycleId");
            return (Criteria) this;
        }

        public Criteria andCheckCycleIdNotBetween(Long value1, Long value2) {
            addCriterion("check_cycle_id not between", value1, value2, "checkCycleId");
            return (Criteria) this;
        }

        public Criteria andPaymentDaysIsNull() {
            addCriterion("payment_days is null");
            return (Criteria) this;
        }

        public Criteria andPaymentDaysIsNotNull() {
            addCriterion("payment_days is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentDaysEqualTo(Integer value) {
            addCriterion("payment_days =", value, "paymentDays");
            return (Criteria) this;
        }

        public Criteria andPaymentDaysNotEqualTo(Integer value) {
            addCriterion("payment_days <>", value, "paymentDays");
            return (Criteria) this;
        }

        public Criteria andPaymentDaysGreaterThan(Integer value) {
            addCriterion("payment_days >", value, "paymentDays");
            return (Criteria) this;
        }

        public Criteria andPaymentDaysGreaterThanOrEqualTo(Integer value) {
            addCriterion("payment_days >=", value, "paymentDays");
            return (Criteria) this;
        }

        public Criteria andPaymentDaysLessThan(Integer value) {
            addCriterion("payment_days <", value, "paymentDays");
            return (Criteria) this;
        }

        public Criteria andPaymentDaysLessThanOrEqualTo(Integer value) {
            addCriterion("payment_days <=", value, "paymentDays");
            return (Criteria) this;
        }

        public Criteria andPaymentDaysIn(List<Integer> values) {
            addCriterion("payment_days in", values, "paymentDays");
            return (Criteria) this;
        }

        public Criteria andPaymentDaysNotIn(List<Integer> values) {
            addCriterion("payment_days not in", values, "paymentDays");
            return (Criteria) this;
        }

        public Criteria andPaymentDaysBetween(Integer value1, Integer value2) {
            addCriterion("payment_days between", value1, value2, "paymentDays");
            return (Criteria) this;
        }

        public Criteria andPaymentDaysNotBetween(Integer value1, Integer value2) {
            addCriterion("payment_days not between", value1, value2, "paymentDays");
            return (Criteria) this;
        }

        public Criteria andTaxCodeIsNull() {
            addCriterion("tax_code is null");
            return (Criteria) this;
        }

        public Criteria andTaxCodeIsNotNull() {
            addCriterion("tax_code is not null");
            return (Criteria) this;
        }

        public Criteria andTaxCodeEqualTo(String value) {
            addCriterion("tax_code =", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeNotEqualTo(String value) {
            addCriterion("tax_code <>", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeGreaterThan(String value) {
            addCriterion("tax_code >", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tax_code >=", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeLessThan(String value) {
            addCriterion("tax_code <", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeLessThanOrEqualTo(String value) {
            addCriterion("tax_code <=", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeLike(String value) {
            addCriterion("tax_code like", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeNotLike(String value) {
            addCriterion("tax_code not like", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeIn(List<String> values) {
            addCriterion("tax_code in", values, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeNotIn(List<String> values) {
            addCriterion("tax_code not in", values, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeBetween(String value1, String value2) {
            addCriterion("tax_code between", value1, value2, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeNotBetween(String value1, String value2) {
            addCriterion("tax_code not between", value1, value2, "taxCode");
            return (Criteria) this;
        }

        public Criteria andOpenBankIsNull() {
            addCriterion("open_bank is null");
            return (Criteria) this;
        }

        public Criteria andOpenBankIsNotNull() {
            addCriterion("open_bank is not null");
            return (Criteria) this;
        }

        public Criteria andOpenBankEqualTo(String value) {
            addCriterion("open_bank =", value, "openBank");
            return (Criteria) this;
        }

        public Criteria andOpenBankNotEqualTo(String value) {
            addCriterion("open_bank <>", value, "openBank");
            return (Criteria) this;
        }

        public Criteria andOpenBankGreaterThan(String value) {
            addCriterion("open_bank >", value, "openBank");
            return (Criteria) this;
        }

        public Criteria andOpenBankGreaterThanOrEqualTo(String value) {
            addCriterion("open_bank >=", value, "openBank");
            return (Criteria) this;
        }

        public Criteria andOpenBankLessThan(String value) {
            addCriterion("open_bank <", value, "openBank");
            return (Criteria) this;
        }

        public Criteria andOpenBankLessThanOrEqualTo(String value) {
            addCriterion("open_bank <=", value, "openBank");
            return (Criteria) this;
        }

        public Criteria andOpenBankLike(String value) {
            addCriterion("open_bank like", value, "openBank");
            return (Criteria) this;
        }

        public Criteria andOpenBankNotLike(String value) {
            addCriterion("open_bank not like", value, "openBank");
            return (Criteria) this;
        }

        public Criteria andOpenBankIn(List<String> values) {
            addCriterion("open_bank in", values, "openBank");
            return (Criteria) this;
        }

        public Criteria andOpenBankNotIn(List<String> values) {
            addCriterion("open_bank not in", values, "openBank");
            return (Criteria) this;
        }

        public Criteria andOpenBankBetween(String value1, String value2) {
            addCriterion("open_bank between", value1, value2, "openBank");
            return (Criteria) this;
        }

        public Criteria andOpenBankNotBetween(String value1, String value2) {
            addCriterion("open_bank not between", value1, value2, "openBank");
            return (Criteria) this;
        }

        public Criteria andAccountIsNull() {
            addCriterion("account is null");
            return (Criteria) this;
        }

        public Criteria andAccountIsNotNull() {
            addCriterion("account is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEqualTo(String value) {
            addCriterion("account =", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotEqualTo(String value) {
            addCriterion("account <>", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThan(String value) {
            addCriterion("account >", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThanOrEqualTo(String value) {
            addCriterion("account >=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThan(String value) {
            addCriterion("account <", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThanOrEqualTo(String value) {
            addCriterion("account <=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLike(String value) {
            addCriterion("account like", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotLike(String value) {
            addCriterion("account not like", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountIn(List<String> values) {
            addCriterion("account in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotIn(List<String> values) {
            addCriterion("account not in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountBetween(String value1, String value2) {
            addCriterion("account between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotBetween(String value1, String value2) {
            addCriterion("account not between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNameIsNull() {
            addCriterion("account_name is null");
            return (Criteria) this;
        }

        public Criteria andAccountNameIsNotNull() {
            addCriterion("account_name is not null");
            return (Criteria) this;
        }

        public Criteria andAccountNameEqualTo(String value) {
            addCriterion("account_name =", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameNotEqualTo(String value) {
            addCriterion("account_name <>", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameGreaterThan(String value) {
            addCriterion("account_name >", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameGreaterThanOrEqualTo(String value) {
            addCriterion("account_name >=", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameLessThan(String value) {
            addCriterion("account_name <", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameLessThanOrEqualTo(String value) {
            addCriterion("account_name <=", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameLike(String value) {
            addCriterion("account_name like", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameNotLike(String value) {
            addCriterion("account_name not like", value, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameIn(List<String> values) {
            addCriterion("account_name in", values, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameNotIn(List<String> values) {
            addCriterion("account_name not in", values, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameBetween(String value1, String value2) {
            addCriterion("account_name between", value1, value2, "accountName");
            return (Criteria) this;
        }

        public Criteria andAccountNameNotBetween(String value1, String value2) {
            addCriterion("account_name not between", value1, value2, "accountName");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceIsNull() {
            addCriterion("kingdee_interface is null");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceIsNotNull() {
            addCriterion("kingdee_interface is not null");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceEqualTo(String value) {
            addCriterion("kingdee_interface =", value, "kingdeeInterface");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceNotEqualTo(String value) {
            addCriterion("kingdee_interface <>", value, "kingdeeInterface");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceGreaterThan(String value) {
            addCriterion("kingdee_interface >", value, "kingdeeInterface");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceGreaterThanOrEqualTo(String value) {
            addCriterion("kingdee_interface >=", value, "kingdeeInterface");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceLessThan(String value) {
            addCriterion("kingdee_interface <", value, "kingdeeInterface");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceLessThanOrEqualTo(String value) {
            addCriterion("kingdee_interface <=", value, "kingdeeInterface");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceLike(String value) {
            addCriterion("kingdee_interface like", value, "kingdeeInterface");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceNotLike(String value) {
            addCriterion("kingdee_interface not like", value, "kingdeeInterface");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceIn(List<String> values) {
            addCriterion("kingdee_interface in", values, "kingdeeInterface");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceNotIn(List<String> values) {
            addCriterion("kingdee_interface not in", values, "kingdeeInterface");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceBetween(String value1, String value2) {
            addCriterion("kingdee_interface between", value1, value2, "kingdeeInterface");
            return (Criteria) this;
        }

        public Criteria andKingdeeInterfaceNotBetween(String value1, String value2) {
            addCriterion("kingdee_interface not between", value1, value2, "kingdeeInterface");
            return (Criteria) this;
        }

        public Criteria andCoverCustomerNumberIsNull() {
            addCriterion("cover_customer_number is null");
            return (Criteria) this;
        }

        public Criteria andCoverCustomerNumberIsNotNull() {
            addCriterion("cover_customer_number is not null");
            return (Criteria) this;
        }

        public Criteria andCoverCustomerNumberEqualTo(Integer value) {
            addCriterion("cover_customer_number =", value, "coverCustomerNumber");
            return (Criteria) this;
        }

        public Criteria andCoverCustomerNumberNotEqualTo(Integer value) {
            addCriterion("cover_customer_number <>", value, "coverCustomerNumber");
            return (Criteria) this;
        }

        public Criteria andCoverCustomerNumberGreaterThan(Integer value) {
            addCriterion("cover_customer_number >", value, "coverCustomerNumber");
            return (Criteria) this;
        }

        public Criteria andCoverCustomerNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("cover_customer_number >=", value, "coverCustomerNumber");
            return (Criteria) this;
        }

        public Criteria andCoverCustomerNumberLessThan(Integer value) {
            addCriterion("cover_customer_number <", value, "coverCustomerNumber");
            return (Criteria) this;
        }

        public Criteria andCoverCustomerNumberLessThanOrEqualTo(Integer value) {
            addCriterion("cover_customer_number <=", value, "coverCustomerNumber");
            return (Criteria) this;
        }

        public Criteria andCoverCustomerNumberIn(List<Integer> values) {
            addCriterion("cover_customer_number in", values, "coverCustomerNumber");
            return (Criteria) this;
        }

        public Criteria andCoverCustomerNumberNotIn(List<Integer> values) {
            addCriterion("cover_customer_number not in", values, "coverCustomerNumber");
            return (Criteria) this;
        }

        public Criteria andCoverCustomerNumberBetween(Integer value1, Integer value2) {
            addCriterion("cover_customer_number between", value1, value2, "coverCustomerNumber");
            return (Criteria) this;
        }

        public Criteria andCoverCustomerNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("cover_customer_number not between", value1, value2, "coverCustomerNumber");
            return (Criteria) this;
        }

        public Criteria andCreateIdIsNull() {
            addCriterion("create_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateIdIsNotNull() {
            addCriterion("create_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateIdEqualTo(Long value) {
            addCriterion("create_id =", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdNotEqualTo(Long value) {
            addCriterion("create_id <>", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdGreaterThan(Long value) {
            addCriterion("create_id >", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdGreaterThanOrEqualTo(Long value) {
            addCriterion("create_id >=", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdLessThan(Long value) {
            addCriterion("create_id <", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdLessThanOrEqualTo(Long value) {
            addCriterion("create_id <=", value, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdIn(List<Long> values) {
            addCriterion("create_id in", values, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdNotIn(List<Long> values) {
            addCriterion("create_id not in", values, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdBetween(Long value1, Long value2) {
            addCriterion("create_id between", value1, value2, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateIdNotBetween(Long value1, Long value2) {
            addCriterion("create_id not between", value1, value2, "createId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}